export const operators = [
    { name: '=', label: '等于' },
    { name: '!=', label: '不等于' },
    { name: '<', label: '小于' },
    { name: '>', label: '大于' },
    { name: '<=', label: '小于等于' },
    { name: '>=', label: '大于等于' },
    { name: 'contains', label: '包含' },
    { name: 'beginsWith', label: '开头为' },
    { name: 'endsWith', label: '结束为' },
    { name: 'doesNotContain', label: '不包含' },
    { name: 'null', label: '为空' },
    { name: 'notNull', label: '不为空' },
    { name: 'between', label: '介于' },
    // { name: 'notBetween', label: 'not between' },
    // { name: 'doesNotBeginWith', label: 'does not begin with' },
    // { name: 'doesNotEndWith', label: 'does not end with' },
    { name: 'in', label: 'in' },
    { name: 'notIn', label: 'not in' }
]

export const defaultOptions = {
    autoSelectField: true,
    autoSelectOperator: true,
    parseNumbers: false,
    showCloneButtons: false,
    showLockButtons: false,
    showCombinatorsBetweenRules: false,
    showNotToggle: false,
    disabled: false,
    displayOnlyField: false
    // addRuleToNewGroups: true,
    // debugMode: false,
    // enableDragAndDrop: false,
    // independentCombinators: false,
    // listsAsArrays: false,
    // resetOnFieldChange: true,
    // resetOnOperatorChange: false,
    // showBranches: true,
    // validateQuery: false
}
